package com.ruoyi.system.domain.city;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.io.Serializable;
import java.util.Date;

/**
 * 项目对象 city_project
 *
 * @author cjq
 * @date 2023-07-24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CityProject implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 项目id
     */
    @TableId(type = IdType.AUTO)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long projectId;

    /**
     * 项目名称（标题）
     */
    @Excel(name = "项目名称")
    private String projectName;

    /**
     * 项目名称（标题）
     */
    @Excel(name = "标题")
    private String projectTitle;

    /**
     * 项目图片
     */
    @Excel(name = "项目图片", width = 35,height = 180,cellType = Excel.ColumnType.IMAGE)
    private String projectUrl;

    /** 项目模式 */
    @Excel(name = "项目模式")
    private String projectMode;

    /** 项目行业 */
    @Excel(name = "项目行业")
    private String projectIndustry;

    /**
     * 项目标签集合
     */
    @Excel(name = "项目标签集合")
    private String projectTag;

    /**
     * 模块名称
     */
    private String projectRoute;

    /**
     * 项目内容
     */
    private String projectContent;


    /** 点击量（浏览量） */
    @Excel(name = "点击量")
    private Integer projectHits;

    /** 分享量 */
    @Excel(name = "分享量")
    private Integer projectShare;

    /** 收藏量 */
    @Excel(name = "收藏量")
    private Integer projectCollect;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
